import Vue from 'vue'
import VueRouter from 'vue-router'
import Init from './app'
import AllEntry from './index.vue'
import Button from './button/index'
import Icon from './Icon/index'
import Switch from './switch/index'
import Input from './input/index'
import Ipinput from './ipinput/index'
import Select from './select/index'
import Search from './Search/index'
import ATEcharts from './Echarts/testx'
import Tooltip from './tooltip/index'
import Pagination from './pagination/index'
import Form from './form/index'
import Cascader from './cascader/index'
import AtElement from '../lib/index'
import '../lib/acd.css'
import Step from './step/index'
import TimeLine from './TimeLine/index'
import Atabs from './atabs/index'
import Adatepicker from './adatepicker/index'
import Upload from './upload/index'
import Tree from './tree/index'
import RightExpand from './rightexpand/index'
import Collapse from './collapse/index'
import Radio from './radio/index'
import cardInfo from './cardInfo/index'
import CheckBox from './checkBox/index'
import Dialog from './dialog/index'
import Breadcrumb from './breadcrumb/index'
import Table from './table/index'
import Popover from './popover/index'
import Layout from './layout/index'
import Autocomplete from './autocomplete/index'
import Formselect from './formselect/index'
import Tag from './tag/index'
import Card from './card/index'
import Tabletree from './tabletree/index'
import Treemap from './treemap/index'
import Transfer from './transfer/index'
Vue.use(VueRouter)
Vue.use(AtElement)
var router = new VueRouter({
  routes: [
    {
      path: '/',
      component: AllEntry
    },
    {
      path: '/tabs',
      component: Atabs
    },
    {
      path: '/icon',
      component: Icon
    },
    {
      path: '/upload',
      component: Upload
    },
    {
      path: '/rightexpand',
      component: RightExpand
    },
    {
      path: '/tree',
      component: Tree
    },
    {
      path: '/datepicker',
      component: Adatepicker
    },
    {
      path: '/button',
      component: Button
    },
    {
      path: '/switch',
      component: Switch
    },
    {
      path: '/input',
      component: Input
    },
    {
      path: '/ipinput',
      component: Ipinput
    },
    {
      path: '/select',
      component: Select
    },
    {
      path: '/search',
      component: Search
    },
    {
      path: '/echarts',
      component: ATEcharts
    },
    {
      path: '/cascader',
      component: Cascader
    },
    {
      path: '/pagination',
      component: Pagination
    },
    {
      path: '/step',
      component: Step
    },
    {
      path: '/timeline',
      component: TimeLine
    },
    {
      path: '/form',
      component: Form
    },
    {
      path: '/collapse',
      component: Collapse
    },
    {
      path: '/radio',
      component: Radio
    },
    {
      path: '/cardInfo',
      component: cardInfo
    },
    {
      path: '/checkbox',
      component: CheckBox
    },
    {
      path: '/tabletree',
      component: Tabletree
    },
    {
      path: '/tooltip',
      component: Tooltip
    },
    {
      path: '/dialog',
      component: Dialog
    },
    {
      path: '/breadcrumb',
      component: Breadcrumb
    },
    {
      path: '/table',
      component: Table
    },
    {
      path: '/popover',
      component: Popover
    },
    {
      path: '/layout',
      component: Layout
    },
    {
      path: '/autocomplete',
      component: Autocomplete
    },
    {
      path: '/formselect',
      component: Formselect
    },
    {
      path: '/tag',
      component: Tag
    },
    {
      path: '/card',
      component: Card
    },
    {
      path: '/treemap',
      component: Treemap
    },
    {
      path: '/transfer',
      component: Transfer
    }
  ]
})
new Vue({ router, render: h => h(Init) }).$mount('#init')
